package com.ruoyi.web.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Schema(description = "临时作业检查VO")
@Data
public class TemporaryCheckVO {
    private static final long serialVersionUID = 1L;
    private Integer id;
    @ExcelProperty("施工单位")
    private String constructionOrganization;
    @ExcelProperty("井号")
    private String wellNo;
    @ExcelProperty("作业项目")
    private String projectName;
    @ExcelProperty("风险因素")
    private String riskFactor;
    @ExcelProperty("可能导致事故类型")
    private String accidentType;
    @ExcelProperty("主要管控措施")
    private String controlMeasure;
    @Schema(description = "责任人")
    private String personInCharge;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty("开工日期")
    private Date workStartTime;
    @Schema(description = "检查计划执行人")
    private String executors;
    @Schema(description = "检查项数")
    private Integer checkNum;
    @Schema(description = "隐患数")
    private Integer hiddenDangerNum;
    @Schema(description = "整改状态（1-未整改 2-已整改）")
    private String riskStatus;
}
